package com.hspedu.homework.homework05;

public class Waiter extends Employee{
    public Waiter(double basicSalary) {
        super(basicSalary);
    }
    public void annualSalary(){
        System.out.println("服务员的年薪为："+getBasicSalary()*12);
    }
}
